<template>
	<view class="xbd_goods_card">
		<view class="header">
			<view class="left">
				{{myInfo.market_name}}
			</view>
			<view class="right">
				<text>类别：</text>
				{{myInfo.market_type}}
			</view>
		</view>
		<view class="foot">
			<view class="left">
				{{myInfo.market_no}}
			</view>
			<view class="right">
				<text>库存数：</text>
				{{myInfo.market_count}}{{myInfo.market_unit || ''}}
			</view>
		</view>
	</view>
</template>

<script>
	export default {
		name: "XbdGoodsCard",
		props: {
			myInfo: Object,
		}
	}
</script>

<style lang="scss" scoped>
.xbd_goods_card{
	padding: 10px 0;
	border-bottom: 4rpx solid #F8F8F8;
	.header,.foot{
		font-size: 28rpx;
		color: #194769;
		display: flex;
		justify-content: space-between;
		.right{
			text{
				font-size: 24rpx;
				color: #A6ADB7;
			}
		}
	}
	.foot{
		margin-top: 10px;
		.left{
			color:#A6ADB7;
		}
	}
}
</style>
